-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
largest divisible subset #9825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
largest divisible subset #9825
Conversation
@tianyizheng02 @cclauss please review (PR for hacktoberfest 2023) |
When would someone want to use this algorithm? |
@cclauss
So, with some changes in it , this algorithm can be utilised at several places. |
Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
Co-authored-by: Christian Clauss <[email protected]>
for more information, see https://pre-commit.ci
@cclauss Did all the changes suggested by you and all the associated changes. |
for more information, see https://pre-commit.ci
@cclauss Would you like to suggest any more changes in the latest version? |
* largest divisible subset * minor tweaks * adding more test cases Co-authored-by: Christian Clauss <[email protected]> * improving code for better readability Co-authored-by: Christian Clauss <[email protected]> * update Co-authored-by: Christian Clauss <[email protected]> * update Co-authored-by: Christian Clauss <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * suggested changes done, and further modfications * final update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update largest_divisible_subset.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update largest_divisible_subset.py --------- Co-authored-by: Christian Clauss <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Describe your change:
Checklist: